from django.urls import path

from apps.goods import views
from apps.goods.views import MySearchView

urlpatterns = [
    # path('index/', views.IndexView.as_view()),
    path('list/<category_id>/skus/', views.ListView.as_view()),
    path('hot/<category_id>/', views.HotGoodsView.as_view()),
    path('search/', MySearchView()),
    # path('detail/<sku_id>/', views.DetailView.as_view()),
    path('detail/visit/<category_id>/', views.CategoryVisitCountView.as_view()),
    path('browse_histories/', views.UserBrowseHistory.as_view()),
]
